package com.wzu.pojo;

import java.sql.Timestamp;

public class SystemLog {
    private int log_id;
    private int user_id;
    private String operation_type;
    private Timestamp operation_time;
    private String details;

    public SystemLog() {
    }

    public SystemLog(int log_id, int user_id, String operation_type, Timestamp operation_time, String details) {
        this.log_id = log_id;
        this.user_id = user_id;
        this.operation_type = operation_type;
        this.operation_time = operation_time;
        this.details = details;
    }

    public int getLog_id() {
        return log_id;
    }

    public void setLog_id(int log_id) {
        this.log_id = log_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getOperation_type() {
        return operation_type;
    }

    public void setOperation_type(String operation_type) {
        this.operation_type = operation_type;
    }

    public Timestamp getOperation_time() {
        return operation_time;
    }

    public void setOperation_time(Timestamp operation_time) {
        this.operation_time = operation_time;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    @Override
    public String toString() {
        return "SystemLog{" +
                "log_id=" + log_id +
                ", user_id=" + user_id +
                ", operation_type='" + operation_type + '\'' +
                ", operation_time=" + operation_time +
                ", details='" + details + '\'' +
                '}';
    }
}